package com.ruoyi.shis.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.shis.mapper.ShisSssjMapper;
import com.ruoyi.shis.domain.ShisSssj;
import com.ruoyi.shis.service.IShisSssjService;

/**
 * 实时监控_实时数据Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class ShisSssjServiceImpl implements IShisSssjService 
{
    @Autowired
    private ShisSssjMapper shisSssjMapper;

    /**
     * 查询实时监控_实时数据
     * 
     * @param id 实时监控_实时数据主键
     * @return 实时监控_实时数据
     */
    @Override
    public ShisSssj selectShisSssjById(Long id)
    {
        return shisSssjMapper.selectShisSssjById(id);
    }

    /**
     * 查询实时监控_实时数据列表
     * 
     * @param shisSssj 实时监控_实时数据
     * @return 实时监控_实时数据
     */
    @Override
    public List<ShisSssj> selectShisSssjList(ShisSssj shisSssj)
    {
        return shisSssjMapper.selectShisSssjList(shisSssj);
    }

    /**
     * 新增实时监控_实时数据
     * 
     * @param shisSssj 实时监控_实时数据
     * @return 结果
     */
    @Override
    public int insertShisSssj(ShisSssj shisSssj)
    {
        return shisSssjMapper.insertShisSssj(shisSssj);
    }

    /**
     * 修改实时监控_实时数据
     * 
     * @param shisSssj 实时监控_实时数据
     * @return 结果
     */
    @Override
    public int updateShisSssj(ShisSssj shisSssj)
    {
        return shisSssjMapper.updateShisSssj(shisSssj);
    }

    /**
     * 批量删除实时监控_实时数据
     * 
     * @param ids 需要删除的实时监控_实时数据主键
     * @return 结果
     */
    @Override
    public int deleteShisSssjByIds(Long[] ids)
    {
        return shisSssjMapper.deleteShisSssjByIds(ids);
    }

    /**
     * 删除实时监控_实时数据信息
     * 
     * @param id 实时监控_实时数据主键
     * @return 结果
     */
    @Override
    public int deleteShisSssjById(Long id)
    {
        return shisSssjMapper.deleteShisSssjById(id);
    }
}
